
	Quick Delete Variables in ASM

// Document best viewed if you see the line bellow in one line and word wrap off //
<--------------------------------------------------------------------------------->

 This program simply deletes your calculator variables 
(usually created and used by TI-BASIC programs).
 There are lots of variables clean up programs in TI-BASIC, 
but the main advantage of this assembly version is being smaller.
The source code is include for some assembly programmers put some other uses.

Features:
- small, fast and stable
- does not throws errors
- custom builds
- TI-83+ and TI-83 (delnvars only) compatible

Builds:

delnvars.8xp
 - for the TI-83+ calculators series (TI-83+/TI-84+/SE)
 - 51 bytes on calcutor;
 - deletes all Real and Complex Vars from A to Z and Theta;
 - deletes archived variables.
delvars.8xp
 - for the TI-83+ calculators series (TI-83+/TI-84+/SE)
 - 150 bytes on calcutor;
 - deletes all Real, Complex (A-Z and Theta)
 - deletes Lists (L1-L6) and Matrices ([A]-[Z])
 - finally, deletes graphic equations (Y1-Y6, X1T-X6T, Y1T-Y6T, r1-r6 and u-w);
 - sets Ans to 1 as bonus;
 - preserves archived variables.

delnvars.83p
 - for the TI-83 calculator;
 - 58 bytes on calculator;
 - For Ion Shell (possibly in the future with ZASMLOAD)
delvars.83p
 - sorry, currently not available because it has errors

How to use:
 Send to your calculator using a linking software, e.g. TI-Connect or Tilp. 
(if you do not know what this is, search in education.ti.com)

  For the TI-83+ series:
 Type Asm(pgrmASMDELVAR in the Homescreen and press Enter. 
Asm( token is found in the Catalog, press [2nd][0] to get in the Catalog.
  For the TI-83:
 Install Ion shell and run delvar from the shell.

 You will see a Done and the variables are deleted.

Source Code:
 You are free to use and learn from it. It is well commented and you can easily comment/uncomment defines to make different builds.
 Fixing the delvars TI-83 build and adding ZASMLOAD and other shells support would be appreciated. Send me a mail to galandros.dev {at} gmail (dot) com. (replace the "at" and "dot", of course)

 I have two suggested uses:
 - include in your custom asm library to TI-BASIC, 
this is a faster and smaller way to clean up variables after use
 - can be also used in APPS that allocate memory, through bcall(_InsertMem), 
and in the case it has not enough memory (prompting the user or not is up to you), 
try to free enough memory to execute.
